package com.bbj.inheritance;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: jack_yang
 * @Date: 2024/4/25
 * @Description: addition and subtraction
 */
public class Student extends People{
    private int studentNo;

    public int getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(int studentNo) {
        this.studentNo = studentNo;
    }
    public void study() {
        System.out.println("Student study");
    }


}
